package com.manage.common.core.enums;

import com.manage.common.core.exception.assertion.PermissionExceptionAssert;
import com.manage.common.core.exception.assertion.ValidateExceptionAssert;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.http.HttpStatus;

/**
 * @author zhangqing
 * @description 验证码错误枚举类
 * @date 2021/6/14 10:23 上午
 */
@Getter
@AllArgsConstructor
public enum PermissionEnum implements PermissionExceptionAssert {

    /**
     * 权限错误枚举类
     */
    FORBIDDEN(HttpStatus.FORBIDDEN.value(), "权限不足");
    private final int code;

    private final String message;
}
